package com.example.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LiangPanDeng
 * @Date: 2024/02/26/17:40
 * @Description:
 */
@Data
@ApiModel("请购单vo")
public class RequisitionPurchaseVo {

//    @ApiModelProperty("请购单单身汇总 TB001-TB002-TB003,TB001-TB002-TB003")
//    private String purtbSummary;

//    @ApiModelProperty("采购数量汇总 1000,1000,2000")
//    private String purchaseNumSummary;
//
//    @ApiModelProperty("请购单单身 请购数量汇总 1000,1000,1000")
//    private String purtbNumSummary;

    @ApiModelProperty("参考单价")
    private Double referencePrice;

    @ApiModelProperty("单身序号")
    private String singleSerialNumber;

    @ApiModelProperty("单头 单据日期")
    private String time;

    @ApiModelProperty("品号")
    private String productNumber;

    @ApiModelProperty("品名")
    private String productName;

    @ApiModelProperty("规格")
    private String specifications;

    @ApiModelProperty("请购数量")
    private Double number;

    @ApiModelProperty("请购单位")
    private String unit;

    @ApiModelProperty("单价")
    private Double unitPrice;

    @ApiModelProperty("总金额")
    private Double totalAmount;

    @ApiModelProperty("供应商编号")
    private String supplierNo;

    @ApiModelProperty("供应商名称")
    private String supplierName;

    @ApiModelProperty("币种")
    private String currency;

    @ApiModelProperty("税种")
    private String taxCategory;

    @ApiModelProperty("税率")
    private Double taxRate;

    @ApiModelProperty("单头 请购日期")
    private String requirementDate;

    @ApiModelProperty("采购员编号")
    private String purchaserNo;

    @ApiModelProperty("采购员姓名")
    private String purchaserName;

    @ApiModelProperty("请购单别")
    private String requisitionType;

    @ApiModelProperty("请购单号")
    private String requisitionNo;

    @ApiModelProperty("请购序号")
    private String requisitionNumber;

    @ApiModelProperty("加急码")
    private String urgentCode;

    @ApiModelProperty("已购数量")
    private Double purchasedQuantity;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("货号")
    private String articleNumber;

    @ApiModelProperty("交货日")
    private String deliveryDate;

    @ApiModelProperty("请购单头备注信息")
    private String headRemark;

    @ApiModelProperty("参考单别")
    private String referenceType;

    @ApiModelProperty("参考单号")
    private String referenceId;

    @ApiModelProperty("参考序号")
    private String referenceSerialId;

    @ApiModelProperty("付款条件编号")
    private String paymentId;

    @ApiModelProperty("付款条件")
    private String payment;

    @ApiModelProperty("请购部门编号")
    private String reqDepartmentID;

    @ApiModelProperty("请购部门名称")
    private String reqDepartment;

    @ApiModelProperty("最低补量")
    private Double minReple;

    @ApiModelProperty("补货倍量")
    private Double restockTime;

    @ApiModelProperty("采购人员")
    private String purchasing;

    @ApiModelProperty("采购数量")
    private String purchased;

    @ApiModelProperty("采购单位")
    private String units;

    @ApiModelProperty("组编号")
    private String usr_group;

    @ApiModelProperty("客户订单编号")
    private String UDF07;

    @ApiModelProperty("计价数量")
    @JsonProperty("valuation")
    private Double TB044;

    @ApiModelProperty("计价单位")
    @JsonProperty("priceUnit")
    private String TB043;

    @ApiModelProperty("库存单位")
    @JsonProperty("inventory")
    private String cz;

    @ApiModelProperty("已采购数量")
    private String udf51;

    @TableField(exist = false)
    @ApiModelProperty("历史单价 上下平行判断 当前单价大于历史单价为2,平行为1,小于为0")
    private Integer historicalunitprice;

    @TableField(exist = false)
    @ApiModelProperty("历史单价")
    private Double nuclearPriceLs;
}
